package com.chenjiajin.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author chenjiajin
 * @date 2022/4/21
 */
@ConfigurationProperties(prefix = "demo")
@Data
@Component    //IoC DI注解
public class Demo {

    private String aa;
    private String bb;
    private String cc;
    private String dd;


}
